@import '~antd/lib/style/themes/default.less';

.login {
    :global {
        .ant-tabs .ant-tabs-bar {
            display: none;
            margin-bottom: 24px;
            text-align: center;
            border-bottom: 0;
        }

        .ant-form-item {
            //margin: 0 2px 24px;
            margin-bottom: 38px;

            &.ant-form-item-with-help {
                margin-bottom: 14px;
            }
        }
        .ant-form-item:last-child {
            margin-bottom: 0;
        }
    }
    .getCaptcha {
        display: block;
        width: 100%;
    }

    .icon {
        margin-left: 16px;
        color: rgba(0, 0, 0, 0.2);
        font-size: 24px;
        vertical-align: middle;
        cursor: pointer;
        transition: color 0.3s;

        &:hover {
            color: @primary-color;
        }
    }

    .other {
        margin-top: 24px;
        line-height: 22px;
        text-align: left;

        .register {
            float: right;
        }
    }

    .prefixIcon {
        color: @disabled-color;
        font-size: @font-size-base;
    }

    .submit {
        width: 100%;
    }
}
.validatePassword {
    white-space: nowrap;
    color: @text-color-secondary;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    &.step1 {
        div:nth-child(1) {
            color: @primary-color;
        }
    }
    &.step2 {
        div:nth-child(2) {
            color: @primary-color;
        }
    }
    &.step3 {
        div:nth-child(3) {
            color: @primary-color;
        }
    }
}
